set(sources 
systemload.c 
uptime.c  
uptime.h  
memswap.c  
memswap.h  
cpu.c  
cpu.h 
xfce-fake.c
xfce-fake.h
xfce-panel-plugin.h 
xfce-panel-plugin.c
)

INCLUDE(FindPkgConfig)
find_package(PkgConfig REQUIRED) 
pkg_check_modules(GTK REQUIRED gtk+-2.0)


include_directories(
${GTK_INCLUDE_DIRS} 
)

include_directories(
${GTK_INCLUDE_DIRS} 
)

link_directories(
${GTK_INCLUDE_DIRS}
) 

add_executable(${PROJECT_NAME}  ${sources})

target_link_libraries(
${PROJECT_NAME}  
${GTK_LIBRARIES} 
)

install (TARGETS ${PROJECT_NAME}  DESTINATION ./)
